package com.hl.domain.PsychologicalTopic;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hl.domain.Course.Course;
import com.hl.domain.Course.CourseUser;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class PsychologicalTopic {
    private Long id;
    private String context;
    private Long userId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createtime;
    private List<PsychologicalTopicReply> replies;
    private CourseUser courseUser;
}
